<?php
App::uses('CartAppController', 'Cart.Controller');

/**
 * CartOrders Cart Controller
 *
 * @package       Cart
 * @subpackage    Cart.Controller
 * @property      CartPayments $CartPayments
 * 
 */
class CartPaymentsController extends CartAppController {
	var $name = 'CartPayments';
	var $scaffold = 'admin';
	
	/**
	 * Processes the ipn and saves the payment and related line items
	 */
	function ipn() {
		$this->CartPayment->processIpn($_POST);
	}
}
?>